﻿ 
 
using Common.EF.Map;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

namespace Api.Mapping.T4
 {
	using Test.Data.Entity;
			#region  t_test
     public partial class t_testMap  :EntityBaseMap< t_test >    
	{   
        public override void Configure(EntityTypeBuilder<t_test> builder)
		{
			base.Configure(builder);

			builder.Property(t => t.name).HasMaxLength(600);
builder.Property(t => t.code).HasMaxLength(600);

		} 

     }
	 #endregion
					#region  t_test_detail
     public partial class t_test_detailMap  :EntityBaseMap< t_test_detail >    
	{   
        public override void Configure(EntityTypeBuilder<t_test_detail> builder)
		{
			base.Configure(builder);

			builder.Property(t => t.test_id).HasMaxLength(50);
builder.Property(t => t.remark).HasMaxLength(300);

		} 

     }
	 #endregion
		 }

 